package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pageQuery.MediaPageQuery;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
 * @author Administrator
 */
public interface WmSensitiveService extends IService<WmSensitive> {
    PageResponseResult pageByName( MediaPageQuery mediaPageQuery);

    boolean save(SensitiveDto dto);

    boolean updateNameById(WmSensitive wmSensitive);
}
